import request from '@/utils/request'

export const updateOneOrderGoodsById = data => request({
  url: '/updateOneOrderGoodsById',
  method: 'patch',
  data: data || {}
})

export const getOrderGoodsList = (data) => request({
  url: '/getOrderGoodsList',
  method: 'post',
  data: data || {}
})

export const getOrderGoodsShow = shop_id => request({
  url: '/getOrderGoodsShow/' + shop_id,
  method: 'get'
})

export const updateOrderGoodsStatus = (data) => request({
  url: '/updateOrderGoodsStatus',
  method: 'post',
  data: data || {}
})

